package com.kaili.pojo.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.kaili.utils.Annotation.CheckField;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author cgm
 * @since 2018-05-08
 */
@TableName("hs_ewbs_sign_detail")
public class HsEwbsSignDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 签收单号
     */
    @ApiModelProperty(hidden = true)
    @TableField("sign_no")
    private String signNo;
    /**
     * 运单号
     */
    @ApiModelProperty(value = "运单号", required = true)
    @TableField("ewb_no")
    @CheckField
    private String ewbNo;
    /**
     * 运单件数
     */
    @ApiModelProperty(value = "运单件数", required = true)
    private Integer piece;
    /**
     * 签收扫描件数
     */
    @ApiModelProperty(value = "签收扫描件数", required = false)
    @TableField("scan_piece")
    private Integer scanPiece;
    /**
     * 设备编号
     */
    @ApiModelProperty(value = "设备编号", required = true)
    @TableField("device_code")
    private String deviceCode;
    /**
     * 数据来源
     */
    @ApiModelProperty(value = "数据来源", required = true)
    @TableField("scan_source_id")
    private Integer scanSourceId;
    /**
     * 是否删除标识  1未删除  0 已删除
     */
    @ApiModelProperty(hidden = true)
    @TableField("rd_status")
    private Integer rdStatus;
    /**
     * 签收扫描时间
     */
    @ApiModelProperty(value = "签收扫描时间", required = true)
    @TableField("scan_time")
    @CheckField
    private String scanTime;
    /**
     * 签收处理时间
     */
    @ApiModelProperty(hidden = true)
    @TableField("created_time")
    private Date createdTime;
    /**
     * 创建人
     */
    @ApiModelProperty(hidden = true)
    @TableField("scan_by")
    private Integer scanBy;

    @ApiModelProperty(value = "签收网点", required = true)
    @TableField("site_id")
    @CheckField
    private Integer siteId;

    public Integer getSiteId() {
        return siteId;
    }

    public void setSiteId(Integer siteId) {
        this.siteId = siteId;
    }

    public String getSignNo() {
        return signNo;
    }

    public void setSignNo(String signNo) {
        this.signNo = signNo;
    }

    public String getEwbNo() {
        return ewbNo;
    }

    public void setEwbNo(String ewbNo) {
        this.ewbNo = ewbNo;
    }

    public Integer getPiece() {
        return piece;
    }

    public void setPiece(Integer piece) {
        this.piece = piece;
    }

    public Integer getScanPiece() {
        return scanPiece;
    }

    public void setScanPiece(Integer scanPiece) {
        this.scanPiece = scanPiece;
    }

    public String getDeviceCode() {
        return deviceCode;
    }

    public void setDeviceCode(String deviceCode) {
        this.deviceCode = deviceCode;
    }

    public Integer getScanSourceId() {
        return scanSourceId;
    }

    public void setScanSourceId(Integer scanSourceId) {
        this.scanSourceId = scanSourceId;
    }

    public Integer getRdStatus() {
        return rdStatus;
    }

    public void setRdStatus(Integer rdStatus) {
        this.rdStatus = rdStatus;
    }

    public String getScanTime() {
        return scanTime;
    }

    public void setScanTime(String scanTime) {
        this.scanTime = scanTime;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Integer getScanBy() {
        return scanBy;
    }

    public void setScanBy(Integer scanBy) {
        this.scanBy = scanBy;
    }

    @Override
    public String toString() {
        return "HsEwbsSignDetail{" +
        ", signNo=" + signNo +
        ", ewbNo=" + ewbNo +
        ", piece=" + piece +
        ", scanPiece=" + scanPiece +
        ", deviceCode=" + deviceCode +
        ", scanSourceId=" + scanSourceId +
        ", rdStatus=" + rdStatus +
        ", scanTime=" + scanTime +
        ", createdTime=" + createdTime +
        ", scanBy=" + scanBy +
        "}";
    }
}
